package com.cash.channel.api.model.callback;

import lombok.Data;

import java.io.Serializable;

@Data
public class BankCardCallBack implements Serializable {

    private String orderNo;

    private String channel;

    private Integer isCustom;

    private Integer status;

    private String bankCode;

    private String bankName;

    private String bankCard;

    private String mobile;

    private String remark;

    public BankCardCallBack(String orderNo, Integer status, String bankCode, String bankName, String bankCard, String mobile, String remark) {
        this.orderNo = orderNo;
        this.status = status;
        this.bankCode = bankCode;
        this.bankName = bankName;
        this.bankCard = bankCard;
        this.mobile = mobile;
        this.remark = remark;
    }

    public BankCardCallBack(String orderNo, String channel, Integer isCustom, Integer status, String bankCode, String bankName, String bankCard, String mobile, String remark) {
        this.orderNo = orderNo;
        this.channel = channel;
        this.isCustom = isCustom;
        this.status = status;
        this.bankCode = bankCode;
        this.bankName = bankName;
        this.bankCard = bankCard;
        this.mobile = mobile;
        this.remark = remark;
    }

    public BankCardCallBack() {
    }

    @Override
    public String toString() {
        return "BankCardCallBack{" +
                "orderNo='" + orderNo + '\'' +
                ", status=" + status +
                ", bankCode='" + bankCode + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankCard='" + bankCard + '\'' +
                ", mobile='" + mobile + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
